<body>
<div class="layui-fluid">
	<div class="layui-row layui-col-space15">
		<div class="layui-col-md12">
			<div class="layui-card">
				<div class="layui-card-header">{$page_name}</div>
				<div class="layui-card-body" pad15>
<form action="{:url(request()->action())}" method="post">
					<div class="layui-form">
						<div class="layui-form-item">
							<label class="layui-form-label">模型名称</label>
							<div class="layui-input-inline">
								<input type="text" class="layui-input" name="name" autocomplete="off" value="{$info.name}" lay-verify="required" placeholder="请输入用户名">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">分组标题</label>
							<div class="layui-input-inline" >
								<textarea name="type_group" class="layui-textarea" placeholder="请输入分组标题">{$info.type_group}</textarea>
							</div>
							<div class="layui-form-mid layui-word-aux">一行一个标题（用于编辑页面分组展示）</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">栏目模板</label>
							<div class="layui-input-inline">
								<input type="text" class="layui-input" name="category_tpl" value="{$info.category_tpl}" lay-verify="required|username" placeholder="请输入栏目模板">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">列表模板</label>
							<div class="layui-input-inline">
								<input type="text" class="layui-input" name="lists_tpl" value="{$info.lists_tpl}" lay-verify="required|username" placeholder="请输入列表模板">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">详情模板</label>
							<div class="layui-input-inline">
								<input type="text" class="layui-input" name="show_tpl" value="{$info.show_tpl}" lay-verify="required|username" placeholder="请输入详情模板">
							</div>
							<div class="layui-form-mid layui-word-aux"></div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<input name="id" type="hidden" value="{$info.id}">
								<button class="layui-btn" 
									lay-submit 
									lay-filter="wy-submit"
									wy-changetabid="contenttable_index"
									wy-closetabid="contenttable_info"
									wy-reloadtable="wy_table_lists"
								>确认提交</button>
								<button type="reset" class="layui-btn layui-btn-primary">重新填写</button>
							</div>
						</div>
					</div>
</form>
				</div>
			</div>
		</div>
	</div>
</div>
</body>